//
//  ReadGifViewController.m
//  SBooks
//
//  Created by shansander on 2016/12/1.
//  Copyright © 2016年 shansander. All rights reserved.
//

#import "ReadGifViewController.h"
#import <YLImageView.h>
#import <YLGIFImage.h>
#import <Masonry.h>

@interface ReadGifViewController ()
@property (nonatomic, weak) IBOutlet YLImageView * gitImage;
@end

@implementation ReadGifViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self configView];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)configView
{
    
    _gitImage.image = [YLGIFImage imageWithContentsOfFile:self.theFilePath];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
